package com.openthinks.joyniproject.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.openthinks.joyniproject.dao.RoleDao;
import com.openthinks.joyniproject.model.Role;
import com.openthinks.joyniproject.service.RoleService;

/**
 * 权限Service 实现
 * @since 
 *		v1.0
 * @version
 * 		v1.0, 2013-06-28 22:00:52
 * @author 
 *		Cloud
 */
@Service
public class RoleServiceImpl implements RoleService{

	@Autowired
	private RoleDao dao;
	
	@Override
	public List<Role> findAll() {
		return dao.findAll();
	}
}
